libft easy functions + corrections