Brainf: Changed function names to be more clear

Changed most of the function names to be more clear/descriptive of their
functions. Also added a file close.