re-styled code (naming and format), env function add_agent implemented, unit speed properly set to float instead of int