Initial complete homework 3. Need to check if something is missing.