Bulk changes. Added an AI so you can play against the machine.