added int variables in main method

added int variables in main method for numberOfPrimes, rowPerPage, columnsPerPage and maxNumberOfReferencePoints.
in addition remove the variable WW as it serves no function in current code