microsoft excercise: nullify
another microsoft interview question