Add powerSet and longest common subsequence to main.js