fixed bugs in edgecases
began refactoring and improved egocentric strategy
fixed bug in search for win
Merge pull request #5 from MattFlaig/t6

T6