Added code for basic storage classes and check solution