How to design a LIFT simulator using FSM(Finite State Machine)
You're confusing the floor destinations with the states.  They are not the same.

For a lift, states would be:


Idle
Moving up
Moving down


The states would be changed by events such as:


Call button pressed
Floor button pressed
Arrived at target floor


The FSM doesn't care about what floor is what, only which floor it wants to get to when in a moving state.

Read more abut FSMs here: http://hacking.majenko.co.uk/finite-state-machine