On smilebasicsource.com, there's a Raycaster maze that comes with a library.