Visual Studio implemention of a Pascal's Triangle function