Submitting mini project homework

I think this is ok here, but I'd be careful with methods named `type`. In some languages that's occasionally a reserved keyword that can cause issues.