This post is a diagram showing how a bit can be saved. If the write enable input is on (along with the bit column and bit row), then the saved bit can be changed through the input/output wire. If the read enable input is on (along with the bit column and bit row), then the saved bit can be read through the input/output wire.
In the diagram, the v-shaped intersection represents a transistor; a dot at an intersection represents a connection. A transistor conducts electricity only if the input is turned on. A list of logic gates with inputs and outputs can be found at this
link.