Project Euler – Problem 15

Problem 15: Starting in the top left corner in a 20 by 20 grid, how many routes are there to the bottom right corner?

import java.text.NumberFormat;
class runner
{
	public static double generate_matrix(int rows, int cols){	
		double[][] mtx = new double[rows][cols];
		for(int i = 0; i