Added my solution to ex5 using MVC