Objective Of Automatic Railway Gate Control