Added repr function to fermion_state.
Added docstrings to fermion_state.