Working solution for the whodunnit-problem of pset4.