Final version. Works, but could use improvement and refactoring. Would like to add a GUI and implement a better algorithm for computer decisions.