minor refactorings
depend on purescript-random
add length to NonEmpty
get the snake graphics looking right
fix crash detection
add Random lib
choose apple position func