cleaned up code
cleaned up some code, added use of os.path.join()
changed output of parsers to lists, changed kmeans to take lists, cleaned up parsers and kmeans