add methods to read and write short values to bytes
add Read and Write typeclass