Initial version of Percolation
TODO: Need to improve timing via topOpen and bottomOpen arrays
Using Virtual top row hint and adding a boolean array of size N to help
improve the performance

PerformanceStats was not computing the root of Stddev.Fixed the same
Test 1a-1d: Measuring total memory usage as a function of grid size (max
allowed: 17 N^2 + 128 N + 1024 bytes)

                 N        bytes
--------------------------------------------
=> passed       64        71224         
=> FAILED      256      2323960   (2.0x)
=> FAILED      512      5171960   (1.1x)
=> FAILED     1024     86168824   (4.8x)
==> 1/4 tests passed
Changes to Percolation and adding test script for timing
Last updated PErcolation code
Push after sync with remote
Removed some unused if conditionals. Seems to improve code readability
Fixed public methods in PercolationStats API. Also, addressed the
calculation of mean and stddev.. Now results are more aligned with the
example:

% java PercolationStats 200 100
mean                    = 0.5929934999999997
stddev                  = 0.00876990421552567
95% confidence interval = 0.5912745987737567, 0.5947124012262428
Fixing Array type to boolean for Percolation.. should fix memory usage
PercolationStats now uses double insted of int.. am getting output for
input size 200 with 10 iterations
Hack code.. after looking at other options
Percolation: Using 2 WeightedUnion instance hack, cheating isFill to
display correctly
PercolationStats: Need help with the logic, for now mimic'd:
http://code.google.com/p/jacob-simon-opgaver/source/browse/src/Percolation/PercolationStats.java?r=5
Findbugs and Checkstyle suggested changes to code
Removed un-used boolean array for Percolation
Fixed a bug in PercolationStats that was incorrectly computing the
number of open sites. Resolution was to check for isOpen with each
randomx, randomy co-ordinate
Revert "Removed un-used boolean array for Percolation Fixed a bug in PercolationStats that was incorrectly computing the number of open sites. Resolution was to check for isOpen with each randomx, randomy co-ordinate"

This reverts commit b330992bdf13ce04a0bc5f5c68a8727c1dc5b28f.
Last submitted and working versions of PercolationStats and Percolation
Using a single variable for VirtualBottom variable.
This gets updated only once, avoiding back-wash issue.
Removed indavdertant API changes from "checkstyle" plugin
API:          FAILED
Percolation:


The following methods are missing:
  *  public boolean isFull(int,int)
  *  public boolean isOpen(int,int)
  *  public void open(int,int)

The following methods should be removed or made private:
  *  public final boolean isFull(int,int)
  *  public final boolean isOpen(int,int)
  *  public final void open(int,int)
Discovered a bug running the algorithm in my head.. too dangerous.. need
to document in future.
Problem: The open method would only identify a connection to
virtualBottom when a last row element is opened
Solution: Iterate through last row until .. 
Better.. use a boolean to track if a last-row element has been opened.
Now iterate through last row.. 
Let us see how this works before working on better solution
Calculate elapsed time also
Removing recurrent use of percolates.. use boolean variable instead to
determine if percolation is done.
Should improve timing.. might need to check for minimum number of
connected usage per function if any
Removed the xyto1d mapping from size String "N +M" to "N^2" +2
Percolation should pass timing now without using second Weighted UF