THE UNPACK FUNCTION UNPACKS DATA FROM A BINARY STRING
