merge 2 sorted arrays
adding a simple algorithm to eval some math code