Fixed append() function in trowelfunctions.py and added pre-commit testing. Adding additional tests for other functions. Pucong will continue fix bugs and errors.