correction grid ( determineCase() )
use neighbor for move
change all double by float to reduce the number of warning
add some define to easily change params
add some comments