Simple programmes for beginners