Assignment 5: Nano Types Solution