A simple implementation of classic snake game