fix comments
define accessors for components of a Coord

rename variables shadow new functions
define numOfLiberties to remove isLastLiberty
simplify pointsCanPut
remove redundant import