programming assignment 2

function commit