Moving these classes into folders that match their package names.
Ignore IntelliJ project files.
Calling getNeighbors() each time, instead of storing it in a var.  Adding explicit return types to function definitions.  Changing the function defs that return constants into vals.