Adding code samples from lab6
Adding 6th homework