Right Angled Triangle - My Code