improve imports in NonEmpty module
key presses move Snake