added get_velocities for 1 dimension ships collision