Created queue and stack classes.