Created file for threading a sine function