javaFX tutorial, lesson 4 (partially works)