made getHorizontalTiles() and getVerticalTiles() static
Revert "made getHorizontalTiles() and getVerticalTiles() static"

This reverts commit 960b37edf40eb23bd7591861e79bc88b0d6f0440.
fixed a bug where waypoints were not placed correctly

only waypoints in a square with the side length of the height of the map
image were created
fixed the bug that enemies would always go DOWN first
changed enemy coordinate to be top left corner