added revised version of my integer triangle code