Crack code interview assignments

Crack code interview 1.1, 1.2