Added the method for withdrawals.

Added the withdrawal method. Still quite buggy though....