Design of Moore Sequence Detector (Overlapping and Non-overlapping) Explained with Simulation