An implementation based on Eigen that computes the Hungarian algorithm. I'm makin this as an excercise in using template functions.