defensive programming hw
testing the performance of math operation and sorting algorithms