Adding keyboard event listener to rotate cube