A new all-magnetic logic system using simple cores