final build for thursday night 12/5. AI is wrong but the gui is fixed and code cleaned