Application Of Functional Programming