headOr, product, sum and length solved

Signed-off-by: Jacob Procee <sn125164@gmail.com>