created constructor for Action
deleted one of those sample methods from BlueJ