Added solution to first 3 questions of bit manipulation