implement basic methods of xorshift_engine class