How do I generate a random number between -1 and 1? I tried doing it how the tip says, but it didn't work.

-Git