Fix: build_pagetables only handled first mapping

Also changed the demo to show how two mappings work.