declared class and method; declared arrays needed
created main() and moved mergeSort out of it. refactored some names.