Code for personal fountain project.