3) Upper Triangle
Author: Terence Tam