Add SystemProgramming Lab2 State Removal Method implementation