added error reporting code for if the player start location was not given