Explaining gravity, algorithm written in pseudo-code. 
Maybe a private class Gravity which contains all variables and checks
for gravity?