completed square peers, and cleaned up code
started solver