I represented a 3D coordinate with a tuple of type (Int, Int, Int)
(Int, Int, Int)
To get the direct neighbours of a coordinate I did something like this :