Fixed blockUpperLeft
Rewrote blockUpperLeft using a lambda to improve usability