Add solution for miniproject2