added in more instructions for pieces. Decoupled snapToSquare's and reassignId's processing from result
isAPath determines if a file, rank, diagonal,  l-shape, or invalid  path was attempted