buffer with size 5head and tail to track positionsbuffer_size set to 5add_to_buffer that adds a new integer to the buffer and updates head and tail correctlyprint_buffer that prints all current values in the buffer from tail to head