instart logic programming exercise
prefix/pattern matching