First own commit
First function prototypes without comments
Final version with comments. Tested, everything appears ok.