removing duplicate functions after rebase
deleting more (redundant?) methods
adding test program for particle sorting
methods that were removed from Grid class two commits ago