Added problem 3, currently crashes shortly after starting