Wrote driver for Task1