Creating the "Task" Constructor Function