Tutorial 2 - Handling mouse input