pythagoras program

decided to include this here instead of creating a whole new project!