Algorithm complexity homework added.