Redone and documented coordinate handling functions
Added test.py
Implemented print_field in test.py