removing one unnecessary parameter from function deserialize_varint. Moving this function from cpp to hpp file.