fixed typo
moved docstring back into correct place
Added docstrings
Map initiation is now a function, as is coin counting