Add sin function
Add passing test and code for sin