Automated Railway Crossing Safety Solution