a simple snake program done in c#