Map prototype done
resolve merge conflicts
Resolve merge conflicts
Uses tile constants in main for width and height.