Assignment3 medium maze