problem 11 _finally_ solved, yeesh