Added BestTimeToBuyAndSellStock.java and ValidPalindrome.java.