Sample code for beginners