Creates a queue with the specified length as its size filled with all zeros
Gets the value at the index which corresponds to the specified fraction
Returns the index of the first element with the specified 'value'. return -1 if
it wasn't found
Inserts the value at the specified index and shifts all the other values down.