It doesn't take much to store a bit - just a couple of NAND gates and a bit of feedback. This video shows the steps to create an S-R Latch from scratch.