added file for prototypes and created find hill algorithm