C# Wpf implementation of snake the game