Challenge: Make a Mask of Specified Width
Write a function that can be used for making a mask. It should start with the specified bit and have the specified width.
This problem is designed for you to practice, so try to solve it on your own first. If you get stuck, you can always refer to the explanation and solution provided in the next lesson. Good luck!