Pascal's Triangle implemented in Java