Added functianily

Copied test tip calculator