Adding an answer function that pretty-prints results