Working on the logic programming questions
Starting making the query system