finished basic functionality with computer making random moves