344. Whoever wrongfully confines any person for ten days or more, shall be punished with imprisonment for a term which may extend to three years, and shall also be liable to fine.