made makefile and file for problem 6.1 in practice book