Finished complex scan

Used assignment 1, with errors.

Signed-off-by: Neil Guzman <guzmann001@gmail.com>