my code for "Seven Languages in Seven Weeks" book