Fixed max number of cars

This version allows for any number of cars. This was done by replacing values in a board string so that the number of cars is read by the length of the string and not from the front of the string. It also fixes an error were boards were not being cleared when copied, fixed with creation and use of clear function.