void playerMovement(){

		if (keyPressed)
		{
			switch(keyCode)
			{
			
			case UP:
				posY -= 2;
				break;
				
			case DOWN:
				posY += 2;
				break;
				
			case LEFT:
				posX -= 2;
				break;
				
			case RIGHT:
				posX += 2;
				break;
				
			}
		}
		fill(255);
		noStroke();
		ellipse(posX, posY, 30, 30);
	}