Sequential algo

Implementation on sequential Floyd algo and minor changes in output of
sample generator