Combined the 4 act methods into 1

Credit to chessdork for the method getLocationsInTraverseOrder
https://github.com/chessdork/2048