Added solution for Power of 2 problem.