operation of msp430 launchpad connect external LED coding in C

Need tutor have experimented with msp430 launchpad before.
project 4 parts.
part1:Show that pressing the button can switch the LED on and off. ( example code attached for review)
part2: Show that with the code from Exercise 4 you have to hold the button to make the LED blink.
part2: you can start and stop the blinking with the press
of a button and that you don’t have to hold the button to make the LED blink
part3:Show that you can make the code stop at a breakpoint in the main() function and show the
value of the loop variable changing as you step through the code.
payment was made when the code running on msp430 launchpad.