added controls to snake