Rough draft of task 1
	Needs valgrind debugging only