Added a first implementation of Amanatides algorithm to traverse a grid.

It is not recursive yet.