Fixed bug with time(), and added the option for the whites to move.