Removed some print statements

cleaned up variable names

changed data structures to paired lists to get ordered plotting

moved legend