Railfence - Added comments and removed debug code