Rename sample code to Algorithm1