improve string formatting method

use more communicative variable name
add attempt at first challenge