adding triangle basic trig codefor r/dailyprogrammer challenge