Tile highlighting

Added highlighting of tiles under the cursor
Slightly modified offsets for unit sprites (main char, heavy knight)
Added aux functions for testing visibility and distance for units
Minor Refactor

Renamed functions to keep consistency
Removed direct array accesses
Reduced duplication of code