implemented strstr in javascript and bubble sort, binary search in ruby