Modeling Memories And FSM Part - I