Revert "Functions for programming assingment 1"

This reverts commit 4ac95b9c7d83677637e207662a7544273b6bdab2.
Revert "Revert "Functions for programming assingment 1""

This reverts commit 5231023165fa25e583f576300622e47bbe200d57.