Pennsylvania judge sentenced for taking over a million dollars in bribes