small changes to remove compile time warnings, before I delve deeper into the works of these algorithms