Home Automation using Leap Motion