implemented car proposition and added printing solution