A version of Snake in Swift that prints to the console and tries to avoid mutable variables