Pascal triangle solution added