Unit changes, additions. Changed data structure.

Used sets instead of array for valid move cells.