Create Best Time to Buy and Sell Stock_array.java