First rough code. Ugly, but works for the more complex haikus.