This is modified sample msp430g2xx3_uscia0_uart_01_9600.c, right?
Then first thing you do: compile sample without any single source code line changed - does it work? If not then you most probably have baud rate mismatch - like lost DCO constants. There's cure but you shall find - you need it or not.
[edit] If you lost DCO constants then your program will loop on this line:
while(1); // do not load, trap CPU!!
[/edit]
If original sample works, then you shall find why your code does not. It's just step by step modify/compile/test work you shall do :)