implemented predict method
Merge pull request #5 from arnellebalane/predict

implemented predict method