Adding number field to frames. Also adding code and test for the
synchronous frame queue data structure