Adding problem 11 and abstracting inputs from project 8.