Get Max Value From Dictionary Python Functions