Fixed bugs in the haiku generation algorithm. It now works as intended.