Actually this functionality has been built into Android since the most recent update. You just need to switch it on.
The only real difference between Swype and the Android version is that Swype lets you squiggle on a letter to tell it you want that letter twice whereas the Android version just...