add doc strings
Using non-blocking sockets for basic connection. Ability to choose computer player. Some refactoring, more comments.