Ends With

Added the ends with function along with a fix to string insertions.