Changed project to better suite compilation and added a pretty printer for pegs