lab_2 is separate file from lab2 contains more states and password integration