cleaner code for Pascal triangle 2