Added return 0 if null to wordCount function
adding interface for reverse function
Finished reverse function