finished Queue homework 1