Trying to add Algorithm code for future use.