Basic algo written

test file added