Updated Process Class with Peterson Solution