Added computer play algorithm and interface