Moved tilemap loading code back into tile map for the sake of modularization. Cleaned up tile doctests.