added solution to the Pascal's triangle problem