Practice some basic algorithms