Added double implementation of Hungarian algorithm.

I needed to handle cost matrix with doubles in it, so I've modified the
original code to handle doubles. I've placed it into a separate class to
avoid modifying your version which works happily with ints.