Correctly prints out unique numbers of spaces sorted
Clean up and comments