Fixed some bugs, still missing some win conditions though. Will get to
later.