added executable main class for tasks 1-7 w/o 3