-main now make use of get-difficulty and the unnecessary loop in -main have been removed