completed first working version of haiku generator