Separete functions for printing warning and errors messages, add colors for warnings and errors