Two charged for hammer attack that sent one to the hospital