6 Nov
                
                    2011
                
            
            
                6 Nov
                
                '11
                
            
            
            
        
    
                12:36 p.m.
            
        What's the purpose of all the type trickery? Why not just implement the algorithm using Integer?