Assignment - Functions

Declared variables initially, and created initial else and else if
function.