You can also get a stress ball and just squeeze your finger tips on that with your hands stressed out. This technique is called isotension.
The problem is the fact that you just started. Guitar, believe it or not, involves a great deal of muscle and muscle memory. The human hand naturally isn't built to do the things it does on a guitar, but as you gradually progress the muscles will build up and you'll develope greater flexability and endurance. Just do those excercises and focus on stretching when you practice guitar. You'll get there.