Added framework for problem8