Minor structure changes + polar-to-data functions

- merged getSize into scanFileAndConvert()
- added createSerialData() and printSerialData()
- added ability to read different pattern types (e.g. TOPDOWN,
FRONTBACK)

- BUG: marking last coordinate in a pattern creates an error