Fixed the core part of the snake game, made random value generation and made a random pixel drawing program.