Added partial solution for level 3 (not working yet!).