Solution for Pascals Triangle