Leap motion sample code for scala